Installing OpenSSL 1.1.1 on RHEL 9
Actions Pro relies on RabbitMQ, which requires OpenSSL 1.1.1 to function. However, the latest versions of Red Hat Enterprise Linux and AlmaLinux include OpenSSL 3.x by default, leading to a version mismatch that prevents RabbitMQ from starting.
This guide provides step-by-step instructions for installing OpenSSL 1.1.1 by compiling it from source to ensure compatibility with Actions Pro.
Installation Steps
Install Dependencies
Install Perl, GCC, and make by executing following command on the terminal:
sudo yum install perl gcc make
Download OpenSSL Source Code
The source code of OpenSSL 1.1.1 library can be downloaded from: Old 1.1.1 Releases. Download the latest version by executing:
wget https://openssl-library.org/source/old/1.1.1/openssl-1.1.1w.tar.gz
Extract the Source Code
Extract Extract the tarball on a machine where Pro will be installed by executing:
tar -xvf openssl-1.1.1w.tar.gz
- This command will extract the source code in a newly created folder
openssl-1.1.1w
. - Navigate to this new folder by executing:
cd openssl-1.1.1w
- This command will extract the source code in a newly created folder
Compile and Install Open SSL
- Configure the source:
.config
- Compile the code:
make
- Test the build
make test
- Install the compiled libraries
sudo make install
- Configure the source:
The last command will copy libcrypto.so.1.1
and libssl.so.1.1
into the /usr/local/lib64
folder. Verify the printed output of the sudo make install command
to confirm the location.
Cleanup
Optional: Remove the source code directory and tarball to save space:
rm -rf openssl-1.1.1w openssl-1.1.1w.tar.gz